package rss_GUI;

/**
 *
 * @author RS-team
 */
public class Help extends javax.swing.JFrame {
    
    private final MainMenu mm;

    private final String frameTitleHelp;
    private final String frameTitleMainMenu;

    /**
     * Creates new form Help
     */
    public Help(MainMenu mm) {
        this.mm = mm;
        initComponents();   
        this.frameTitleHelp = this.getTitle();
        this.frameTitleMainMenu = mm.getTitle();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabelCOLABORATION = new javax.swing.JLabel();
        jLabelUTHIMIS = new javax.swing.JLabel();
        jLabelKONSTANTINOS = new javax.swing.JLabel();
        jLabelKOSTAS = new javax.swing.JLabel();
        jLabelGIORGOS = new javax.swing.JLabel();
        jLabelCONTRIBUTION = new javax.swing.JLabel();
        jButtonOK = new javax.swing.JButton();
        jToggleButtonEXPERT = new javax.swing.JToggleButton();
        jLabeRSSLOGO = new javax.swing.JLabel();
        jLabelRSTEAM = new javax.swing.JLabel();
        jSeparatorLINE = new javax.swing.JSeparator();
        jLabelBACKGROUND = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Πληροφορίες για το RADIO STATION SYSTEM");
        setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        setLocationByPlatform(true);
        setMinimumSize(new java.awt.Dimension(606, 384));
        setName("HELP"); // NOI18N
        setResizable(false);
        getContentPane().setLayout(null);

        jLabelCOLABORATION.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jLabelCOLABORATION.setForeground(new java.awt.Color(255, 255, 255));
        jLabelCOLABORATION.setText("Συνεργάστηκαν με αλφαβητική σειρά οι Φοιτητές του ΑΘΗ3:");
        jLabelCOLABORATION.setFocusable(false);
        getContentPane().add(jLabelCOLABORATION);
        jLabelCOLABORATION.setBounds(10, 140, 440, 15);

        jLabelUTHIMIS.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jLabelUTHIMIS.setForeground(new java.awt.Color(255, 255, 255));
        jLabelUTHIMIS.setText("ΜΠΑΛΤΖΟΓΛΟΥ ΕΥΘΥΜΙΟΣ");
        jLabelUTHIMIS.setFocusable(false);
        getContentPane().add(jLabelUTHIMIS);
        jLabelUTHIMIS.setBounds(10, 170, 163, 17);

        jLabelKONSTANTINOS.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jLabelKONSTANTINOS.setForeground(new java.awt.Color(255, 255, 255));
        jLabelKONSTANTINOS.setText("ΝΙΚΟΛΟΠΟΥΛΟΣ ΚΩΝΣΤΑΝΤΙΝΟΣ");
        jLabelKONSTANTINOS.setFocusable(false);
        getContentPane().add(jLabelKONSTANTINOS);
        jLabelKONSTANTINOS.setBounds(10, 190, 200, 15);

        jLabelKOSTAS.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jLabelKOSTAS.setForeground(new java.awt.Color(255, 255, 255));
        jLabelKOSTAS.setText("ΠΑΠΑΘΕΟΔΩΡΟΥ ΚΩΝΣΤΑΝΤΙΝΟΣ");
        jLabelKOSTAS.setFocusable(false);
        getContentPane().add(jLabelKOSTAS);
        jLabelKOSTAS.setBounds(10, 210, 200, 15);

        jLabelGIORGOS.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jLabelGIORGOS.setForeground(new java.awt.Color(255, 255, 255));
        jLabelGIORGOS.setText("ΠΑΡΑΣΚΕΥΟΠΟΥΛΟΣ ΓΕΩΡΓΙΟΣ");
        jLabelGIORGOS.setFocusable(false);
        getContentPane().add(jLabelGIORGOS);
        jLabelGIORGOS.setBounds(10, 230, 200, 15);

        jLabelCONTRIBUTION.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jLabelCONTRIBUTION.setForeground(new java.awt.Color(255, 255, 255));
        jLabelCONTRIBUTION.setText("Ευχαριστούμε τον Καθηγητή μας κ.Νικόλαο Δρόσο για την συνδρομή του ");
        jLabelCONTRIBUTION.setFocusable(false);
        getContentPane().add(jLabelCONTRIBUTION);
        jLabelCONTRIBUTION.setBounds(10, 272, 400, 15);

        jButtonOK.setText(" OK");
        jButtonOK.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jButtonOK.setFocusCycleRoot(true);
        jButtonOK.setFocusPainted(false);
        jButtonOK.setMaximumSize(new java.awt.Dimension(80, 20));
        jButtonOK.setMinimumSize(new java.awt.Dimension(80, 20));
        jButtonOK.setPreferredSize(new java.awt.Dimension(70, 20));
        jButtonOK.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonOKActionPerformed(evt);
            }
        });
        getContentPane().add(jButtonOK);
        jButtonOK.setBounds(60, 325, 70, 20);

        jToggleButtonEXPERT.setText("ExpertMode");
        jToggleButtonEXPERT.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jToggleButtonEXPERT.setFocusable(false);
        jToggleButtonEXPERT.setMaximumSize(new java.awt.Dimension(80, 20));
        jToggleButtonEXPERT.setMinimumSize(new java.awt.Dimension(80, 20));
        jToggleButtonEXPERT.setPreferredSize(new java.awt.Dimension(90, 20));
        jToggleButtonEXPERT.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButtonEXPERTActionPerformed(evt);
            }
        });
        getContentPane().add(jToggleButtonEXPERT);
        jToggleButtonEXPERT.setBounds(160, 325, 90, 20);

        jLabeRSSLOGO.setIcon(new javax.swing.ImageIcon(getClass().getResource("/misc/design/RSS-Logo_mini.png"))); // NOI18N
        jLabeRSSLOGO.setFocusable(false);
        getContentPane().add(jLabeRSSLOGO);
        jLabeRSSLOGO.setBounds(10, 10, 150, 127);

        jLabelRSTEAM.setIcon(new javax.swing.ImageIcon(getClass().getResource("/misc/design/RSTeam_mini.png"))); // NOI18N
        jLabelRSTEAM.setFocusable(false);
        getContentPane().add(jLabelRSTEAM);
        jLabelRSTEAM.setBounds(390, 320, 200, 30);

        jSeparatorLINE.setMinimumSize(new java.awt.Dimension(780, 2));
        getContentPane().add(jSeparatorLINE);
        jSeparatorLINE.setBounds(10, 314, 580, 2);

        jLabelBACKGROUND.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jLabelBACKGROUND.setForeground(new java.awt.Color(255, 255, 255));
        jLabelBACKGROUND.setIcon(new javax.swing.ImageIcon(getClass().getResource("/misc/design/MICROPHONE_mini.png"))); // NOI18N
        jLabelBACKGROUND.setFocusable(false);
        getContentPane().add(jLabelBACKGROUND);
        jLabelBACKGROUND.setBounds(0, 0, 600, 450);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButtonOKActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonOKActionPerformed
        dispose();  // έξοδος από την Help
    }//GEN-LAST:event_jButtonOKActionPerformed

    private void jToggleButtonEXPERTActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButtonEXPERTActionPerformed
        if(mm.getExpertMode()) { this.setTitle(frameTitleHelp); mm.setTitle(frameTitleMainMenu); }
        else { this.setTitle(frameTitleHelp + " (ExpertMode)"); mm.setTitle(frameTitleMainMenu + " (ExpertMode)"); }
        mm.setExpertMode(!mm.getExpertMode());  // αντιστροφή expertMode flag
    }//GEN-LAST:event_jToggleButtonEXPERTActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButtonOK;
    private javax.swing.JLabel jLabeRSSLOGO;
    private javax.swing.JLabel jLabelBACKGROUND;
    private javax.swing.JLabel jLabelCOLABORATION;
    private javax.swing.JLabel jLabelCONTRIBUTION;
    private javax.swing.JLabel jLabelGIORGOS;
    private javax.swing.JLabel jLabelKONSTANTINOS;
    private javax.swing.JLabel jLabelKOSTAS;
    private javax.swing.JLabel jLabelRSTEAM;
    private javax.swing.JLabel jLabelUTHIMIS;
    private javax.swing.JSeparator jSeparatorLINE;
    private javax.swing.JToggleButton jToggleButtonEXPERT;
    // End of variables declaration//GEN-END:variables

    void setEnable(boolean b) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
}
